.class Lcom/waiqin365/lightapp/chexiao/a/au;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Landroid/widget/ImageView;

.field final synthetic b:Lcom/waiqin365/lightapp/chexiao/a/at;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/chexiao/a/at;Landroid/widget/ImageView;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    iput-object p2, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->a:Landroid/widget/ImageView;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 5

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->a:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getTag()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/db/jxccache/g;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/chexiao/a/at;->a()Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/waiqin365/base/db/jxccache/f;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/jxccache/f;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-static {v2}, Lcom/waiqin365/lightapp/chexiao/a/at;->a(Lcom/waiqin365/lightapp/chexiao/a/at;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/jxccache/f;->g(Ljava/lang/String;)Lcom/waiqin365/base/db/jxccache/a;

    move-result-object v1

    new-instance v2, Landroid/content/Intent;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-virtual {v3}, Lcom/waiqin365/lightapp/chexiao/a/at;->a()Landroid/content/Context;

    move-result-object v3

    const-class v4, Lcom/waiqin365/lightapp/chexiao/CXXSItemModifyActivity;

    invoke-direct {v2, v3, v4}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v3, "pdCache"

    invoke-virtual {v2, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v3, "selectedList"

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/a/at;->b(Lcom/waiqin365/lightapp/chexiao/a/at;)Ljava/util/List;

    move-result-object v0

    check-cast v0, Ljava/io/Serializable;

    invoke-virtual {v2, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v0, "isJT"

    invoke-static {}, Lcom/waiqin365/lightapp/chexiao/d/a;->o()Z

    move-result v3

    invoke-virtual {v2, v0, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v3, "cmId"

    if-nez v1, :cond_2

    const-string/jumbo v0, ""

    :goto_0
    invoke-virtual {v2, v3, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "isModify"

    const/4 v1, 0x1

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "notifyClass"

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/a/at;->a()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v0

    invoke-virtual {v2, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v0, "cxxs_xs_cache"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/a/at;->a(Lcom/waiqin365/lightapp/chexiao/a/at;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v0, "cxxs_xs_sv_cache"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/a/at;->a(Lcom/waiqin365/lightapp/chexiao/a/at;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    :cond_0
    const-string/jumbo v0, "type"

    const-string/jumbo v1, "xs"

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "titleName"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/chexiao/a/at;->a()Landroid/content/Context;

    move-result-object v1

    const v3, 0x7f080709

    invoke-virtual {v1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :cond_1
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/a/at;->a()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void

    :cond_2
    invoke-virtual {v1}, Lcom/waiqin365/base/db/jxccache/a;->a()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_3
    const-string/jumbo v0, "cxxs_th_cache"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/a/at;->a(Lcom/waiqin365/lightapp/chexiao/a/at;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_4

    const-string/jumbo v0, "cxxs_th_sv_cache"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/a/at;->a(Lcom/waiqin365/lightapp/chexiao/a/at;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_5

    :cond_4
    const-string/jumbo v0, "type"

    const-string/jumbo v1, "th"

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "titleName"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/chexiao/a/at;->a()Landroid/content/Context;

    move-result-object v1

    const v3, 0x7f0806e0

    invoke-virtual {v1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_1

    :cond_5
    const-string/jumbo v0, "cxxs_hh_cache"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/a/at;->a(Lcom/waiqin365/lightapp/chexiao/a/at;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_6

    const-string/jumbo v0, "cxxs_hh_sv_cache"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-static {v1}, Lcom/waiqin365/lightapp/chexiao/a/at;->a(Lcom/waiqin365/lightapp/chexiao/a/at;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_1

    :cond_6
    const-string/jumbo v0, "type"

    const-string/jumbo v1, "hh"

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v0, "titleName"

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/a/au;->b:Lcom/waiqin365/lightapp/chexiao/a/at;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/chexiao/a/at;->a()Landroid/content/Context;

    move-result-object v1

    const v3, 0x7f080087

    invoke-virtual {v1, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v2, v0, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto/16 :goto_1
.end method
